<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>title</title>
	</head>
	<body>
		<form action="${path }/doadd">
			<div>
				<label>id:</label>
				<div><input id="id" type="text" value="${id }" name="id" class="form-control"/> </div>
			</div>
			<div>
				<label>添加家庭</label>
				<div><input type="text" value="${name }" name="name" class="form-control"/></div>
			</div>

			<button type="submit">添加</button>
		</form>
	

	</body>
</html>